﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace ExplorerInfrastructure
{
    public class ProjectInfo
    {
        public string Path { get; set; }
        public string OsVersion { get; set; }
        public int FontSize { get; set; }
        public Size ScreenSize { get; set; }

        private static ProjectInfo instance;
        
        private ProjectInfo() { }

        public static ProjectInfo GetInstance()
        {
            if (instance == null)
                instance = new ProjectInfo();
            return instance;
        }

        public static void Clear() 
        {
            instance = null;
        }
        public static bool IsSet()
        {
            return instance != null;
        }
    }
}
